It is just that: 'do homework', at most it can be added that in most cases that task is a pending obligation, and among them most of the time it is said of a school task.
The expression "do homework" is used on multitudes of occasions, to refer to finishing or focusing on the work to be done. Task or work to be done.